From 1b924707ad2beac8cb9125d9365178e69792427b Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 4 Nov 2005 19:43:39 +0000 Subject: [PATCH] Msroute: fix endianness problem. --- gpsbabel/msroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/msroute.c b/gpsbabel/msroute.c index ae63e4e7a..4cb5f932b 100644 --- a/gpsbabel/msroute.c +++ b/gpsbabel/msroute.c @@ -207,7 +207,7 @@ ole_find_property(const char *property) len = min(OLE_MAX_NAME_LENGTH, item->name_size / 2); for (j = 0; j < len; j++) - buff[j] = item->name[j]; + buff[j] = le_read16(&item->name[j]); buff[j] = '\0'; if (case_ignore_strcmp(buff, property) == 0) -- 2.30.2